package com.neuedu.homework;

public class Company {
    //成员变量
    //打印的工资月份
    private int caculateMonth;

    private ColaEmployee colaEmplovee;

    //行为方法

    /**
     * 打印员工工资
      */
    public void printcaculateEmploveeSalary(){
        System.out.println(caculateMonth+"月份工资：姓名："+colaEmplovee.getEmpName()+",工资金额："+colaEmplovee.getSalary(caculateMonth));
    }

    public int getCaculateMonth() {
        return caculateMonth;
    }

    public void setCaculateMonth(int caculateMonth) {
        this.caculateMonth = caculateMonth;
    }

    public ColaEmployee getColaEmplovee() {
        return colaEmplovee;
    }

    public void setColaEmplovee(ColaEmployee colaEmplovee) {
        this.colaEmplovee = colaEmplovee;
    }

    public Company(int caculateMonth) {
        this.caculateMonth = caculateMonth;
    }

    public Company(ColaEmployee colaEmplovee) {
        this.colaEmplovee = colaEmplovee;
    }

    public Company() {
    }

}
